module.exports = {
  presets: ["@vue/cli-plugin-babel/preset"],
  plugins: [
    // 按需加载 element-ui
    [
      "component",
      {
        libraryName: "element-ui",
        styleLibraryName: "theme-chalk"
      }
    ],
    // 按需加载 vue-benchu-ui
    [
      "component",
      {
        libraryName: "vue-benchu-ui",
        libDir:'lib/packages',
        camel2Dash:true
      },
      'name'
    ],
  ]
};
